package com.yhy.wxzn.wms.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 库存表
 * @Author: jeecg-boot
 * @Date:   2023-11-01
 * @Version: V1.0
 */
@Data
@TableName("wms_inventory")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_inventory对象", description="库存表")
public class WmsInventory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**库位*/
	@Excel(name = "库位", width = 15)
    @ApiModelProperty(value = "库位")
    private java.lang.String locationId;
    private transient java.lang.String locationCode;
    @Dict(dicCode = "wcs_map_pos_type")
    private transient java.lang.String locationType;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String itemId;
    private transient java.lang.String itemCode;
    private transient java.lang.String itemName;
    @Dict(dicCode = "wms_base_unit")
    private transient java.lang.String baseUnit;
	/**托盘号*/
	@Excel(name = "托盘号", width = 15)
    @ApiModelProperty(value = "托盘号")
    private java.lang.String palletNo;
	/**箱号*/
	@Excel(name = "箱号", width = 15)
    @ApiModelProperty(value = "箱号")
    private java.lang.String boxNo;
	/**收货日期*/
	@Excel(name = "收货日期", width = 15)
    @ApiModelProperty(value = "收货日期")
    private java.util.Date lot01;
	/**销售单*/
	@Excel(name = "销售单", width = 15)
    @ApiModelProperty(value = "销售单")
    private java.lang.String lot02;
	/**供应商代码*/
	@Excel(name = "供应商代码", width = 15)
    @ApiModelProperty(value = "供应商代码")
    private java.lang.String lot03;
	/**ERP代码*/
	@Excel(name = "ERP代码", width = 15)
    @ApiModelProperty(value = "ERP代码")
    private java.lang.String lot04;
	/**等级*/
	@Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    private java.lang.String lot05;
	/**档次*/
	@Excel(name = "档次", width = 15)
    @ApiModelProperty(value = "档次")
    private java.lang.String lot06;
	/**SN号*/
	@Excel(name = "SN号", width = 15)
    @ApiModelProperty(value = "SN号")
    private java.lang.String lot07;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @ApiModelProperty(value = "库存数量")
    private BigDecimal invQty;
	/**分配用*/
	@TableField(exist = false)
	private transient boolean allocate;
}
